print("100以内需要拍手的数字：")
for num in range(1, 101):
    # 判断是否是7的倍数，或包含数字7
    if num % 7 == 0 or '7' in str(num):
        print(num, end=' ')